package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2023-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SLIP_DETAIL_PACK")
@ApiModel(value="PcSlipDetailPack对象", description="")
public class PcSlipDetailPacks implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "仓库ID")
    private String stockNo;

    @ApiModelProperty(value = "订单号/入库单号")
    private String slipNo;

    @ApiModelProperty(value = "物料单号")
    private String mtlNo;

    @ApiModelProperty(value = "物料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "物料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "物料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "数量/用量")
    private BigDecimal qty;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "仓库备注")
    //备注
    private String remark;

    @ApiModelProperty(value = "序号")
    private BigDecimal item;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "出入库日期")
    private Date slipDate;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "订单类型")
    private String slipType;

    @ApiModelProperty(value = "出入库原因")
    private String slipReason;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;
    private String prices;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    private String amts;

    @ApiModelProperty(value = "物料类型")
    private String typeName;

    private BigDecimal seqNo;

    private String cfmFlag;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date cfmDate;

    private String cfmUser;

    @ApiModelProperty(value = "对账月份")
    private String financeYymm;

    @ApiModelProperty(value = "订购单号")
    private String purNo;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    @ApiModelProperty(value = "财务备注")
    private String financeRecMemo;

    private String financeCfmFlag;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date financeCfmDate;

    private String financeCfmUser;

    @ApiModelProperty(value = "对账方式")
    private String accountName;

    @ApiModelProperty(value = "对账单号")
    private String balanceNo;

    @ApiModelProperty(value = "财务标记")
    private String mark;

    private BigDecimal usage;

    private String style;

    private String type;
}
